package stark.app.function.watermark;

import stark.app.R;
import stark.app.base.BaseWithFragmentActivity;
import stark.app.databinding.FragmentWatermarkDemoBinding;
import stark.common.basic.base.BaseNoModelFragment;

/**
 * Author：daizhongbin on 2023/12/14
 * Email：1027154338@qq.com
 * Desc:
 */
public class WatermarkDemoFragment extends BaseNoModelFragment<FragmentWatermarkDemoBinding> {
    @Override
    protected int onCreate() {
        return R.layout.fragment_watermark_demo;
    }

    @Override
    protected void initView() {
        //跳去图片去水印界面
        mDataBinding.btnImgWatermark.setOnClickListener(v -> {
            BaseWithFragmentActivity.start(getContext(), "图片去水印", WatermarkImgDemoFragment.class);
        });
        //跳去视频去水印界面
        mDataBinding.btnVideoWatermark.setOnClickListener(v -> {
            BaseWithFragmentActivity.start(getContext(), "抖音等视频去水印", WatermarkVideoDemoFragment.class);
        });
    }

    @Override
    protected void initData() {

    }
}
